SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].[DnnProduct_CDS_TemplatesGetByName]
	@DistributorID varchar(50),
	@Name nvarchar(255)
AS
BEGIN
	SELECT [ID], DistributorID, [Name], Description, [Default], [Type]
	FROM [DnnProduct_CDS_Templates]
	WHERE DistributorID = @DistributorID AND [Name] like @Name
END
GO
